/**
 * @author David Young
 */
package csab.core.utility;

/**
 * Implemented by classes which are meant to
 * "observe" (receive updates from) Observable
 * objects.
 * @author David Young
 * @see csab.core.utility.ObserverMessage
 * @see csab.core.utility.Observable
 */
public interface Observer {
	/**
	 * A handler which receives messages from
	 * Observable objects that this object has been
	 * added to.
	 * @param msg The ObserverMessage object passed
	 * into this handler.
	 * @see csab.core.utility.ObserverMessage
	 * @see csab.core.utility.Observable
	 */
	public void handleObservation(ObserverMessage msg);
}
